<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2019/2/26
 * Time: 19:20
 */

namespace app\index\model;


use think\Model;

class Anchor extends Model
{
    protected $table = 'sn_anchor';

    protected function getStatusAttr($value)
    {
        $status = [1 => '审核中', 2 => '通过', 3 => '不通过'];
        return $status[$value];
    }
}